package com.nnnu.wsnackshop.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置属性
 */
@Component
@ConfigurationProperties(prefix = "wsnackshop.wechat-miniapp")
@Data
public class WechatMiniAppProperties {
    private String appid;
    private String secret;
}